package com.gxar.navigation.server.base.model.node.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/9/12 14:10
 */
@Data
public class NodeInfoVO {

    @ApiModelProperty("地点ID")
    @JSONField(name = "id")
    @JsonProperty("id")
    private String id;

    @ApiModelProperty("地点名称")
    @JSONField(name = "name")
    @JsonProperty("name")
    private String name;

    @ApiModelProperty("经度")
    @JSONField(name = "longitude")
    @JsonProperty("longitude")
    private Double longitude;

    @ApiModelProperty("纬度")
    @JSONField(name = "latitude")
    @JsonProperty("latitude")
    private Double latitude;

    @ApiModelProperty("地点名称")
    @JSONField(name = "icon_path")
    @JsonProperty("icon_path")
    private String iconPath;

    @ApiModelProperty("速度，单位 m/s")
    @JSONField(name = "speed")
    @JsonProperty("speed")
    private Integer speed;

    @ApiModelProperty("位置的精确度，反应与真实位置之间的接近程度，可以理解成10即与真实位置相差10m，越小越精确")
    @JSONField(name = "accuracy")
    @JsonProperty("accuracy")
    private Integer accuracy;

    @ApiModelProperty("高度，单位m")
    @JSONField(name = "altitude")
    @JsonProperty("altitude")
    private Integer altitude;

    @ApiModelProperty("垂直精度，单位m")
    @JSONField(name = "vertical_accuracy")
    @JsonProperty("vertical_accuracy")
    private Integer verticalAccuracy;

    @ApiModelProperty("水平精度，单位m")
    @JSONField(name = "horizontal_accuracy")
    @JsonProperty("horizontal_accuracy")
    private Integer horizontalAccuracy;
}
